*,*:after,*:before{
    padding: 0;
    margin: 0;
    /*这个非常重要，在该box中可以显示其他元素的内容*/
    box-sizing: border-box;
}

.account{
    /*设置字体的主要颜色*/
    background-repeat: no-repeat;
    background-size: cover;
}

/*盒体大小*/
.container{
    /*设置大小区域*/
    width: 100%;
    min-height: 100vh;
    /*隐藏溢出*/
    overflow: hidden;
    /*设置内边距，有利于展现圆角弧度*/
    padding: 2rem;
    /*设置弹性布局*/
    display: flex;
    align-items: center; /*y轴居中对齐*/
    justify-content: center; /*x轴居中对齐*/
}

.box{
    /*基础大小设置*/
    width: 100%;
    max-width: 1020px;
    height: 640px;
    /*设置圆角*/
    border-radius: 3.3rem;
    /*设置阴影*/
    box-shadow: 0 0 20px #b7b2a9;
    /*对inner-box进行相对定位*/
    position: relative;
}

.inner-box{
    /*调整盒体大小*/
    width:calc(100% - 4.1rem);
    height: calc(100% - 4.1rem);
    /*调整位置，让盒体居中，绝对位置使下列设置生效*/
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/*登录界面*/
.forms-wrap{
    /*设置位置与大小*/
    position: absolute;
    height: 100%;
    width: 45%;
    left: 0;
    top: 0;
    /*限制了子类的大小和位置*/
    display: grid;
    grid-template-columns:1fr;
    grid-template-rows:1fr;
}

form{
    /*设置大小*/
    max-width: 260px;
    width: 100%;
    height: 100%;
    /*居中*/
    margin: 0 auto;
    /*设置了伸缩，纵向排列，均等散开*/
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    /*设置了grid布局的大小*/
    grid-column: 1/2;
    grid-row: 1/2;
}

.title{
    display: flex;
    align-items: center;
}

.title p{
    font-size: 3rem;
}

.head p{
    font-size: 2rem;
    font-weight: 600;
}

.head span{
    font-size: 0.75rem;
    font-weight: 400;
    display: inline;
}

/*输入框*/
.input-wrap{
    position:relative;
    height: 40px;
    margin-bottom: 2rem;

}

.input-field{
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0;
    font-size: 1rem;
    background: none;
    border-radius:10px;
    text-indent: 10px;
    border-bottom: 1px solid #bbb;
}

.input-field:focus{
    background-color: white;
    color:black;
}

label{
    position: absolute;
    left: 0;
    width: 100%;
    top:25%;
    font-size: 1rem;
    /*禁用鼠标事件*/
    pointer-events:none;

}

.login-btn{
    display: inline-block;
    width: 100%;
    height: 43px;
    border: none;
    border-radius: 2rem;
    margin-bottom: 2rem;
}

.text{
    display: flex;
    font-size: 0.7rem;
}